package com.quzi.kettle.bean;

import com.google.gson.Gson;
import com.quzi.kettle.R;


public class ModeItem {

	public int getCleanlvTime() {
		return CleanlvTime;
	}
	public void setCleanlvTime(int cleanlvTime) {
		CleanlvTime = cleanlvTime;
	}
	public int getTargetTemperature() {
		return targetTemperature;
	}
	public void setTargetTemperature(int targetTemperature) {
		this.targetTemperature = targetTemperature;
	}
	public boolean isNeedBoiled() {
		return needBoiled;
	}
	public void setNeedBoiled(boolean needBoiled) {
		this.needBoiled = needBoiled;
	}
	public boolean isNeedCleanlv() {
		return needCleanlv;
	}
	public void setNeedCleanlv(boolean needCleanlv) {
		this.needCleanlv = needCleanlv;
	}
	public boolean isNeedVoice() {
		return needVoice;
	}
	public void setNeedVoice(boolean needVoice) {
		this.needVoice = needVoice;
	}
	public boolean isNeedWarm() {
		return needWarm;
	}
	public void setNeedWarm(boolean needWarm) {
		this.needWarm = needWarm;
	}
	public double getWaterLevel() {
		return waterLevel;
	}
	public void setWaterLevel(double waterLevel) {
		this.waterLevel = waterLevel;
	}
	public int getModeImageId() {
		return modeImageId;
	}
	public void setModeImageId(int modeImageId) {
		this.modeImageId = modeImageId;
	}
	public String getModeTitle() {
		return modeTitle;
	}
	public void setModeTitle(String modeTitle) {
		this.modeTitle = modeTitle;
	}
	private int modeImageId;
	private String modeTitle;
	/**煮沸*/
	private boolean needBoiled;
	/**除氯*/
	private boolean needCleanlv;
	/**除氯时间*/
	private int CleanlvTime;
	/**声音*/
	private boolean needVoice;
	/**保温*/
	private boolean needWarm;
	/**水量*/
	private double waterLevel;
	
	private int targetTemperature;
	
	private int image = 0;
	
	public int getImage(){
		if(image == 0){
			return R.drawable.custom;
		}
		return image;
	}
	
	public void setImage(int image){
		this.image = image;
	}
	
	public ModeItem() {
	}
	
	@Override
	public String toString(){
		return new Gson().toJson(this);
	}
}
